import aiohttp
import asyncio


async def main():
    data = {'name': 'germey', 'age': 25}
    async with aiohttp.ClientSession() as session:
        async with session.post('https://www.httpbin.org/post', data=data) as resp:
            print('status:', resp.status)
            print('headers:', resp.headers)
            print('body:', await resp.text())
            print('cookies:', resp.cookies)
            print('bytes:', await resp.read())
            print('json:', await resp.json())


if __name__ == '__main__':
    asyncio.run(main())
